package com.fas.system.domain;

import java.io.Serializable;
import java.util.List;

public class SysArea implements Serializable {

    private Integer id;//主键
    private String code;//编码
    private String parentCode;//父编码
    private String name;//名称
    private Integer level;//等级
    private String telephoneCode;//
    private String nameFirstChar;//首字母第一个字符
    private String center;//中心点位
    private String longitude;//经度
    private String latitude;//纬度

    private List<SysArea> children;//子节点


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getTelephoneCode() {
        return telephoneCode;
    }

    public void setTelephoneCode(String telephoneCode) {
        this.telephoneCode = telephoneCode;
    }

    public String getNameFirstChar() {
        return nameFirstChar;
    }

    public void setNameFirstChar(String nameFirstChar) {
        this.nameFirstChar = nameFirstChar;
    }

    public String getCenter() {
        return center;
    }

    public void setCenter(String center) {
        this.center = center;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public List<SysArea> getChildren() {
        return children;
    }

    public void setChildren(List<SysArea> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "SysArea{" +
                "id=" + id +
                ", code=" + code +
                ", parentCode='" + parentCode + '\'' +
                ", name='" + name + '\'' +
                ", level=" + level +
                ", telephoneCode='" + telephoneCode + '\'' +
                ", nameFirstChar='" + nameFirstChar + '\'' +
                ", center='" + center + '\'' +
                ", longitude='" + longitude + '\'' +
                ", latitude='" + latitude + '\'' +
                '}';
    }
}
